package com.hibase.upms.entity.user;

import com.hibase.core.mybatis.entity.BaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ChrisCui
 * @since 2019-04-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "用户")
public class MdsUser extends BaseDO {

    private static final long serialVersionUID = 1L;

    /**
     * 登录名
     */
    @ApiModelProperty(value = "登录名")
    private String loginName;

    /**
     * 登录密码
     */
    @ApiModelProperty(value = "登录密码")
    private String loginPwd;

    /**
     * 真实姓名
     */
    @ApiModelProperty(value = "真实姓名")
    private String sysName;

    /**
     *  邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 座机号码
     */
    @ApiModelProperty(value = "座机号码")
    private String phone;

    /**
     * 移动手机号码
     */
    @ApiModelProperty(value = "移动手机号码")
    private String mobile;

    /**
     * 用户头像
     */
    @ApiModelProperty(value = "用户头像")
    private String headThumb;

    /**
     * 最后登录ip
     */
    @ApiModelProperty(value = "最后登录ip")
    private String loginIp;

    /**
     * 最后登录时间
     */
    @ApiModelProperty(value = "最后登录时间")
    private Date loginDate;

    /**
     * 用户状态(true 启用 false禁用)
     */
    @ApiModelProperty(value = "用户状态")
    private Boolean beActive;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;

    /**
     * 钉钉UserId
     */
    @ApiModelProperty(value = "钉钉UserId")
    private String userId;

    /**
     * 绑定的仓库ID
     */
    @ApiModelProperty(value = "绑定的仓库ID")
    private String relationWarehouse;

    /**
     * 绑定的客户ID
     */
    @ApiModelProperty(value = "绑定的客户ID")
    private String relationCustomer;
}
